package com.kgc.exception;

/**
 * @Classname TokenExceptionEnum
 * @Description TODO
 * @Date 2021/6/18 9:31
 * @Created by 17402
 */
public enum TokenExceptionEnum {
    /**
     * 系统异常
     */
    SYSTEM_EXCEPT("9000","系统异常"),
    /**
     * 传入   参数为空
     */
    REQUEST_PARAM_EMPTY("1001","传入参数为空"),
    /**
     * 传入参数非法
     */
    REQUEST_PARAM_ILLEGAL("1002","传入参数非法"),
    /**
     * 数据库操作异常
     */
    DATABASE_OPERATOR_EXCPT("3001","数据库操作异常"),
    /**
     * 网络连接异常
     */
    NETWORK_CONNECT_EXCPT("5001","网络连接异常");

    private String excptCode;
    private String excptMsg;
    TokenExceptionEnum(String excptCode, String excptMsg) {
        this.excptCode=excptCode;
        this.excptMsg=excptMsg;
    }

    public String getExcptCode() {
        return excptCode;
    }

    public String getExcptMsg() {
        return excptMsg;
    }
}
